package commerce.hibernate.po;

import java.util.Set;



/**
 * ProductCategory entity. @author MyEclipse Persistence Tools
 */

public class ProductCategory  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Integer shopId;
     private String categoryName;
     private Integer parentId;    
     


    // Constructors

    /** default constructor */
    public ProductCategory() {
    }

    
    /** full constructor */
    public ProductCategory(Integer shopId, String categoryName, Integer parentId) {
        this.shopId = shopId;
        this.categoryName = categoryName;
        this.parentId = parentId;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getShopId() {
        return this.shopId;
    }
    
    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getCategoryName() {
        return this.categoryName;
    }
    
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Integer getParentId() {
        return this.parentId;
    }
    
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
}